Skip to content

Conversation

@BL-CZY
Copy link

@BL-CZY BL-CZY commented Nov 8, 2025

No description provided.

- Updated methods in `directory.rs`, `files.rs`, `lib.rs`, `mod.rs`, and `volume_mgr.rs` to be async.
- Added `maybe_async` attributes to conditionally compile sync/async versions based on feature flags.
- Modified method implementations to await asynchronous calls where necessary.
- Ensured compatibility with both async and sync contexts throughout the filesystem and volume management code.
@thejpster
Copy link
Member

Thank you for this PR.

Unfortunately this is a big PR with no tests and no explanation of what it does or why it does it.

We’re going to need a bunch of examples and documentation updates before this can go in. If you’re asking me to take on ongoing maintenance for an API I have no need for, you’ll need to convince me it’s correct first and that I’m not just opening myself up for a slew of bug reports.

I’m also going to insist that the async feature is off by default.

@BL-CZY
Copy link
Author

BL-CZY commented Nov 8, 2025

Hello!

I am sorry for this PR. I will keep working on the branch, adding the tests, and fixing clippy warnings.

@BL-CZY BL-CZY marked this pull request as draft November 8, 2025 10:13
@BL-CZY BL-CZY closed this Nov 8, 2025
@thejpster
Copy link
Member

I don't mind seeing the PR left open as a draft! Feel free to @ me when you think you've got good test coverage ... which I guess you'd do with Tokio? Not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants